package com.chixing.VO;



import java.math.BigDecimal;
import java.time.LocalDateTime;

public class MovieVO {
    // 来自 Movie 表
    private Integer movieId;
    private String movieName;
    private String movieImage;
    private BigDecimal movieScore;
    private BigDecimal boxOffice;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
    private Integer statues;

    // 来自 MovieDetail 表
    private String movieTrailer;
    private String movieIntro;
    private String movieType;
    private String releaseTime;
    private String releaseLocation;
    private Integer duration;
    private String director;
    private String actors;
    private String images;
    private Integer durationMinutes;

    // 构造器、getter、setter
    public MovieVO() {}

    // 全参构造器
    public MovieVO(Integer movieId, String movieName, String movieImage, BigDecimal movieScore,
                   BigDecimal boxOffice, Integer statues, String movieType, String releaseTime,
                   Integer durationMinutes) {
        this.movieId = movieId;
        this.movieName = movieName;
        this.movieImage = movieImage;
        this.movieScore = movieScore;
        this.boxOffice = boxOffice;
        this.statues = statues;
        this.movieType = movieType;
        this.releaseTime = releaseTime;
        this.durationMinutes = durationMinutes;
    }

    // getter 和 setter 方法
    public Integer getMovieId() { return movieId; }
    public void setMovieId(Integer movieId) { this.movieId = movieId; }

    public String getMovieName() { return movieName; }
    public void setMovieName(String movieName) { this.movieName = movieName; }

    public String getMovieImage() { return movieImage; }
    public void setMovieImage(String movieImage) { this.movieImage = movieImage; }

    public BigDecimal getMovieScore() { return movieScore; }
    public void setMovieScore(BigDecimal movieScore) { this.movieScore = movieScore; }

    public BigDecimal getBoxOffice() { return boxOffice; }
    public void setBoxOffice(BigDecimal boxOffice) { this.boxOffice = boxOffice; }

    public LocalDateTime getCreateTime() { return createTime; }
    public void setCreateTime(LocalDateTime createTime) { this.createTime = createTime; }

    public LocalDateTime getUpdateTime() { return updateTime; }
    public void setUpdateTime(LocalDateTime updateTime) { this.updateTime = updateTime; }

    public Integer getStatues() { return statues; }
    public void setStatues(Integer statues) { this.statues = statues; }

    public String getMovieTrailer() { return movieTrailer; }
    public void setMovieTrailer(String movieTrailer) { this.movieTrailer = movieTrailer; }

    public String getMovieIntro() { return movieIntro; }
    public void setMovieIntro(String movieIntro) { this.movieIntro = movieIntro; }

    public String getMovieType() { return movieType; }
    public void setMovieType(String movieType) { this.movieType = movieType; }

    public String getReleaseTime() { return releaseTime; }
    public void setReleaseTime(String releaseTime) { this.releaseTime = releaseTime; }

    public String getReleaseLocation() { return releaseLocation; }
    public void setReleaseLocation(String releaseLocation) { this.releaseLocation = releaseLocation; }

    public Integer getDuration() { return duration; }
    public void setDuration(Integer duration) { this.duration = duration; }

    public String getDirector() { return director; }
    public void setDirector(String director) { this.director = director; }

    public String getActors() { return actors; }
    public void setActors(String actors) { this.actors = actors; }

    public String getImages() { return images; }
    public void setImages(String images) { this.images = images; }

    public Integer getDurationMinutes() { return durationMinutes; }
    public void setDurationMinutes(Integer durationMinutes) { this.durationMinutes = durationMinutes; }

    @Override
    public String toString() {
        return "MovieVO{" +
                "movieId=" + movieId +
                ", movieName='" + movieName + '\'' +
                ", movieImage='" + movieImage + '\'' +
                ", movieScore=" + movieScore +
                ", boxOffice=" + boxOffice +
                ", statues=" + statues +
                ", movieType='" + movieType + '\'' +
                ", releaseTime=" + releaseTime +
                ", durationMinutes=" + durationMinutes +
                '}';
    }
}
